package org.example.batchutils.processor;

import com.baomidou.dynamic.datasource.processor.DsProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyDynamicDataSourceConfig {
    @Bean
    public DsProcessor dsProcessor() {
        DsHeaderProcessor headerProcessor = new DsHeaderProcessor();
        return headerProcessor;
    }
}
